<!-- waf规则的读取（攻击规则 - WEB攻击） -->
<div class="wafrule_read" style="display: none;">
  <form class="form-horizontal">
      <ul class="timeline" style="margin-left:-10px;">
          <li>
            <i class="fa fa-bug bg-green"></i>
            <div class="timeline-item">
              <h3 class="timeline-header">基础信息</h3>
              <div class="timeline-body">
                  <div class="box-body" style="margin-left:-50px;">
                    <div class="form-group">
                      <label for="wafrule_id" class="col-sm-3 control-label">事件编号</label>
                      <div class="col-sm-9">
                          <input name="wafrule_id" type="text" class="form-control">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="wafrule_name" class="col-sm-3 control-label">事件名称</label>
                      <div class="col-sm-9">
                          <input name="wafrule_name" type="text" class="form-control">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="wafrule_name" class="col-sm-3 control-label">规则类型</label>
                      <div class="col-sm-9">
                          <input name="wafrule_name" type="text" class="form-control">
                      </div>
                    </div>
                     <div class="form-group">
                      <label for="wafrule_status" class="col-sm-3 control-label">规则状态</label>
                      <div class="col-sm-9">
                          <input name="wafrule_status" type="text" class="form-control">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="wafrule_user" class="col-sm-3 control-label">最后操作人</label>
                      <div class="col-sm-9">
                          <input name="wafrule_user" type="text" class="form-control">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="wafrule_time" class="col-sm-3 control-label">最后修改时间</label>
                      <div class="col-sm-9">
                          <input name="wafrule_time" type="text" class="form-control">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="wafrule_reg" class="col-sm-3 control-label">正则匹配</label>
                      <div class="col-sm-9">
                          <input name="wafrule_reg" type="text" class="form-control">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="wafrule_gstatus" class="col-sm-3 control-label">规则攻击状态</label>
                      <div class="col-sm-9">
                          <input name="wafrule_gstatus" type="text" class="form-control">
                      </div>
                    </div>
                     <div class="form-group" >
                      <label for="behind_starttime" class="col-sm-3 control-label">clientip</label>
                      <div name="clientip_read" style="float:right;width: 75%;"></div>
                    </div>
                    <div class="form-group">
                      <label for="behind_starttime" class="col-sm-3 control-label">referer</label>
                      <div name="referer_read" style="float:right;width: 75%;"></div>
                    </div>
                    <div class="form-group">
                      <label for="behind_starttime" class="col-sm-3 control-label">useragent</label>
                      <div name="useragent_read" style="float:right;width: 75%;"></div>
                    </div>
                  </div>

              </div>
            </div>
          </li>
      </ul>
  </form>
</div>
<div class="wafrule_read_button" style="display: none;">
  <button data-dismiss="modal" class="btn btn-default" type="button">关闭</button>
</div>

<!-- waf规则的修改（攻击规则 - WEB攻击） -->
<div class="wafrule_change" style="display: none;">
  <form class="form-horizontal">
      <ul class="timeline" style="margin-left:-10px;">
          <li>
            <i class="fa fa-bug bg-green"></i>
            <div class="timeline-item">
              <h3 class="timeline-header">基础信息</h3>
              <div class="timeline-body">
                  <div class="box-body" style="margin-left:-50px;">
                    <div class="form-group">
                      <label for="wafrule_010100_id" class="col-sm-3 control-label">事件编号</label>
                      <div class="col-sm-9">
                          <input name="wafrule_010100_id" type="text" class="form-control" readonly>
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="wafrule_010100_name" class="col-sm-3 control-label">事件名称</label>
                      <div class="col-sm-9">
                          <input name="wafrule_010100_name" type="text" class="form-control">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="wafrule_010100_reg" class="col-sm-3 control-label">正则匹配</label>
                      <div class="col-sm-9">
                          <input name="wafrule_010100_reg" type="text" class="form-control">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="wafrule_010100_status" class="col-sm-3 control-label">规则攻击状态</label>
                      <div class="col-sm-9">
                          <select name="wafrule_010100_status" id="wafruleType" class="form-control selectpicker">
                            <option value="1" >block</option>
                            <option value="2" >simulation</option>
                          </select>
                      </div>
                    </div>

                    <div class="form-group">
                      <label for="wafrule_status" class="col-sm-3 control-label">属性</label>
                      <div>
                        <a style="width: 100px;" class="wafruleviewupdataclientip-add btn btn-warning btn-embossed" onclick="new MainFeatures().wafRuleAddView('id010100_clientip-update',0);">clientip+</a>&nbsp;
                        <a style="width: 100px;" class="wafruleviewreferer-add btn btn-info btn-embossed" onclick="new MainFeatures().wafRuleAddView('id010100_referer-update',0);">referer+</a>&nbsp;
                        <a style="width: 100px;" class="wafruleviewuseragent-add btn btn-danger btn-embossed" onclick="new MainFeatures().wafRuleAddView('id010100_useragent-update',0);">useragent+</a>
                      </div>
                      </br>
                      <div id="clientip_010100_change" >
                        <p style="margin-left: 20%">clientip: </p>
                      </div></br></br>
                      <div id="referer_010100_change">
                        <p style="margin-left: 20%">referer:</p>
                      </div></br></br>
                      <div id="useragent_010100_change">
                        <p style="margin-left: 16%">useragent:</p>
                      </div>
                    </div>


              </div>
            </div>
          </li>
      </ul>
  </form>
</div>
<div class="wafrule_change_button" style="display: none;">
<a class="src-assign btn btn-success btn-embossed" onclick="new MainFeatures().wafrule_change1('010100');">提交</a>
  <button data-dismiss="modal" class="btn btn-default" type="button">关闭</button>
</div>